package com.duobaoyu.dby.supply.biz.client.resource.bean.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * @author liyang
 * @version 1.0.0
 * @ClassName AddTaskImportDTO
 * @createTime 15:45:00 2023/10/08
 */
@Data
@ApiModel("任务导入的dto")
public class AddTaskImportDTO implements Serializable {

    private static final long serialVersionUID = 5897400110607953225L;

    @ApiModelProperty(value = "导入任务数据类型枚举", required = true)
    @NotNull(message = "导入任务数据类型枚举不能为空")
    private String taskType;

    @NotNull(message = "文件url不能为空")
    private String importFileUrl;

    @ApiModelProperty(value = "拆分任务大小")
    private Integer pageSize;
}
